package com.zg.paging3.activity.net.data

import com.zg.ktcomwan.model.ArticleBean
import retrofit2.http.GET
import retrofit2.http.Path

/***
 * @Author:      zxd
 * @CreateDate:  2021/6/2 15:01
 * @Description:
 */
interface IApiService {

    //首页文章列表，从0开始
    @GET("article/list/{page}/json")
    suspend fun getHomeArticleList(@Path("page") page: Int): BaseResp<BaseListResp<ArticleBean>>

    //首页文章列表，从0开始
    @GET("article/list/-10/json")
    suspend fun getHomeArticleList1(): BaseResp<BaseListResp<ArticleBean>>
}